package com.wzg;

import javax.swing.*;
import java.io.File;

public class UserInputData implements Cloneable{
    private String date;
    private String country;
    private String language;
    private String participantId;
    private String device;
    private String filename;
    private String level1Category;
    private String level2Category;
    private String level3Category;
    private String level4Category;
    private String shortDescription;
    private String imageId;
    private String location;
    private String locationIfOther;
    private String locationType;
    private String packageType;
    private String packageTypeIfOther;
    private String imageOfPackage;
    private String packageMaterial;
    private String packageMaterialIfOther;
    private String menuMaterial;
    private String menuMaterialIfOther;
    private String lighting;
    private String timeOfDay;
    private String flash;
    private String restaurantMenu;
    private String cuisineCountryOfOrigin;
    private String aggressors;
    private String cameraSetting;
    private String scanType;
    private String imageGrouping;
    private String uniqueIdentifier;
    private File file;

    private JButton uploadButton;

    private boolean newCreated = false;

    // Getters and Setters


    public boolean isNewCreated() {
        return newCreated;
    }

    public void setNewCreated(boolean newCreated) {
        this.newCreated = newCreated;
    }

    public JButton getUploadButton() {
        return uploadButton;
    }

    public void setUploadButton(JButton uploadButton) {
        this.uploadButton = uploadButton;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getLevel4Category() {
        return level4Category;
    }

    public void setLevel4Category(String level4Category) {
        this.level4Category = level4Category;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getLocationIfOther() {
        return locationIfOther;
    }

    public void setLocationIfOther(String locationIfOther) {
        this.locationIfOther = locationIfOther;
    }

    public String getLocationType() {
        return locationType;
    }

    public void setLocationType(String locationType) {
        this.locationType = locationType;
    }

    public String getParticipantId() {
        return participantId;
    }

    public void setParticipantId(String participantId) {
        this.participantId = participantId;
    }

    public String getShortDescription() {
        return shortDescription;
    }

    public void setShortDescription(String shortDescription) {
        this.shortDescription = shortDescription;
    }

    public String getPackageType() {
        return packageType;
    }

    public void setPackageType(String packageType) {
        this.packageType = packageType;
    }

    public String getImageOfPackage() {
        return imageOfPackage;
    }

    public void setImageOfPackage(String imageOfPackage) {
        this.imageOfPackage = imageOfPackage;
    }

    public String getPackageMaterial() {
        return packageMaterial;
    }

    public void setPackageMaterial(String packageMaterial) {
        this.packageMaterial = packageMaterial;
    }

    public String getPackageMaterialIfOther() {
        return packageMaterialIfOther;
    }

    public void setPackageMaterialIfOther(String packageMaterialIfOther) {
        this.packageMaterialIfOther = packageMaterialIfOther;
    }

    public String getRestaurantMenu() {
        return restaurantMenu;
    }

    public void setRestaurantMenu(String restaurantMenu) {
        this.restaurantMenu = restaurantMenu;
    }

    public String getMenuMaterial() {
        return menuMaterial;
    }

    public void setMenuMaterial(String menuMaterial) {
        this.menuMaterial = menuMaterial;
    }

    public String getMenuMaterialIfOther() {
        return menuMaterialIfOther;
    }

    public void setMenuMaterialIfOther(String menuMaterialIfOther) {
        this.menuMaterialIfOther = menuMaterialIfOther;
    }

    public String getLighting() {
        return lighting;
    }

    public void setLighting(String lighting) {
        this.lighting = lighting;
    }

    public String getCuisineCountryOfOrigin() {
        return cuisineCountryOfOrigin;
    }

    public void setCuisineCountryOfOrigin(String cuisineCountryOfOrigin) {
        this.cuisineCountryOfOrigin = cuisineCountryOfOrigin;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getLevel1Category() {
        return level1Category;
    }

    public void setLevel1Category(String level1Category) {
        this.level1Category = level1Category;
    }

    public String getLevel2Category() {
        return level2Category;
    }

    public void setLevel2Category(String level2Category) {
        this.level2Category = level2Category;
    }

    public String getLevel3Category() {
        return level3Category;
    }

    public void setLevel3Category(String level3Category) {
        this.level3Category = level3Category;
    }

    public String getImageId() {
        return imageId;
    }

    public void setImageId(String imageId) {
        this.imageId = imageId;
    }

    public String getTimeOfDay() {
        return timeOfDay;
    }

    public void setTimeOfDay(String timeOfDay) {
        this.timeOfDay = timeOfDay;
    }

    public String getFlash() {
        return flash;
    }

    public void setFlash(String flash) {
        this.flash = flash;
    }

    public String getAggressors() {
        return aggressors;
    }

    public void setAggressors(String aggressors) {
        this.aggressors = aggressors;
    }

    public String getCameraSetting() {
        return cameraSetting;
    }

    public void setCameraSetting(String cameraSetting) {
        this.cameraSetting = cameraSetting;
    }

    public String getScanType() {
        return scanType;
    }

    public void setScanType(String scanType) {
        this.scanType = scanType;
    }

    public String getImageGrouping() {
        return imageGrouping;
    }

    public void setImageGrouping(String imageGrouping) {
        this.imageGrouping = imageGrouping;
    }

    public String getUniqueIdentifier() {
        return uniqueIdentifier;
    }

    public void setUniqueIdentifier(String uniqueIdentifier) {
        this.uniqueIdentifier = uniqueIdentifier;
    }

    public File getFile() {
        return file;
    }

    public void setFile(File file) {
        this.file = file;
    }

    public String getPackageTypeIfOther() {
        return packageTypeIfOther;
    }

    public void setPackageTypeIfOther(String packageTypeIfOther) {
        this.packageTypeIfOther = packageTypeIfOther;
    }

    @Override
    public UserInputData clone() {
        try {
            return (UserInputData) super.clone();
        } catch (CloneNotSupportedException e) {
            throw new AssertionError();
        }
    }

    @Override
    public String toString() {
        return "UserInputData{" +
                "date='" + date + '\'' +
                ", country='" + country + '\'' +
                ", language='" + language + '\'' +
                ", participantId='" + participantId + '\'' +
                ", device='" + device + '\'' +
                ", filename='" + filename + '\'' +
                ", level1Category='" + level1Category + '\'' +
                ", level2Category='" + level2Category + '\'' +
                ", level3Category='" + level3Category + '\'' +
                ", level4Category='" + level4Category + '\'' +
                ", shortDescription='" + shortDescription + '\'' +
                ", imageId='" + imageId + '\'' +
                ", location='" + location + '\'' +
                ", locationIfOther='" + locationIfOther + '\'' +
                ", locationType='" + locationType + '\'' +
                ", packageType='" + packageType + '\'' +
                ", imageOfPackage='" + imageOfPackage + '\'' +
                ", packageMaterial='" + packageMaterial + '\'' +
                ", packageMaterialIfOther='" + packageMaterialIfOther + '\'' +
                ", menuMaterial='" + menuMaterial + '\'' +
                ", menuMaterialIfOther='" + menuMaterialIfOther + '\'' +
                ", lighting='" + lighting + '\'' +
                ", timeOfDay='" + timeOfDay + '\'' +
                ", flash='" + flash + '\'' +
                ", restaurantMenu='" + restaurantMenu + '\'' +
                ", cuisineCountryOfOrigin='" + cuisineCountryOfOrigin + '\'' +
                ", aggressors='" + aggressors + '\'' +
                ", cameraSetting='" + cameraSetting + '\'' +
                ", scanType='" + scanType + '\'' +
                ", imageGrouping='" + imageGrouping + '\'' +
                ", uniqueIdentifier='" + uniqueIdentifier + '\'' +
                '}';
    }
}